package cn.jhc.teachingquality;

/**
 * Created by luyanfei on 16-3-8.
 */
public interface Global {
    public static final String LOG_TAG = "QualityTag";
    public static final String URL_PREFIX = "http://jxzlxt.jhc.cn";
    public static final String PREFERENCES = "TeachingQualityPreferences";

    public static final String PREF_USERNAME = "username";
    public static final String PREF_PASSWORD = "password";
    public static final String PREF_LOGIN_SUCCESS_FLAG = "login_success_flag";

    public static final String CURRENT_PRACTICE_LOG = "current_practice_log";

    public static final String CURRENT_TEACHING_LOG = "current_teaching_log";

    public static final String LOGIN_SUCCEED_IN_BACKGROUND = "login succeed in background";
    public static final String LOGIN_SUCCEED_IN_FOREGROUND = "login succeed in foreground";
    public static final String NETWORK_FAILURE = "network failure";

    //SharedPreferences选项，用于控制是否需要重新加载教学日志。
    public static final String PREFS_REFRESH_TEACHING_LOGS = "should_refresh_teaching_logs";

    //查询日志列表时每页的条目数，设置成比较大的值，以便在一次请求中取到所有日志。
    public static final String PAGE_SIZE = "400";

    String EVENT_REFRESH_PRACTICE_LOG_LIST = "event_referesh_practice_log_list";
    String EVENT_REFRESH_TEACHING_LOG_LIST = "event_referesh_teaching_log_list";
}
